﻿using System;
using System.Collections.Generic;
using System.IO.Compression;
using System.Text;

namespace DotNetExtensions.Core.Compress
{
    public class ZipCompressor
    {
        public static void Zip(string folder, string filename)
        {
            ZipFile.CreateFromDirectory(folder, filename, CompressionLevel.Optimal, true);
        }
    }
}
